package com.wang.system.domain.exam;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wang.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@TableName("tb_exam_question")
public class ExamQuestion extends BaseEntity {

    @Schema(description = "竞赛和题目关联表id")
    @TableId(type = IdType.ASSIGN_ID)
    private Long examQuestionId;

    @Schema(description = "竞赛id")
    private Long examId;

    @Schema(description = "题目id")
    private Long questionId;

    @Schema(description = "每个竞赛中的题目顺序")
    private Integer questionOrder;
}
